package com.example.baseframework.activity

import android.os.Bundle
import com.example.baseframework.databinding.ActivityWheelBinding
import com.xh.baselibrary.activity.BaseVBActivity

class WheelActivity : BaseVBActivity<ActivityWheelBinding>() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val list = mutableListOf<String>()
        for (i in 0..20) {
            list.add("$i")
        }
        mViewContainer.wv.setItems(list)
        mViewContainer.wv.setLoop(false)
    }
}